package com.xm;

import java.util.function.Consumer;

/**
 * Author：xm
 * Project：interview
 * Date：2025/8/26  20:15
 */

public class ConsumerImpl implements Consumer<IPayService> {

    @Override
    public void accept(IPayService service) {
        service.pay();
    }
}
